<?php echo $this->doctype(); ?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>    
	<?php
		$baseUrl = $this->baseUrl(); 
		echo $this->headTitle ();     
		echo $this->headMeta (); 
		$this->headLink(array('href' => $baseUrl . '/images/favicon.gif', 'type' => 'image/gif', 'rel' => 'icon'));
		echo $this->headLink()
				->appendStylesheet($baseUrl . '/css/reset.css') 
    			->appendStylesheet($baseUrl . '/css/styles.css')
    			->appendStylesheet($baseUrl . '/css/forms.css'); 
    			
    	$this->dojo()
				->setLocalPath ($baseUrl .  '/js/dojo/dojo.js' )
				->addStyleSheetModule ( 'dijit.themes.tundra' )
				->setDjConfigOption('parseOnLoad', true)
				->requireModule ( "dojo.parser" ) 
				->requireModule ( "dijit.dijit" )	
				->requireModule ( "dijit.Menu" )
				->requireModule ( "dijit.MenuItem" )
				->requireModule ( "dijit.PopupMenuItem" )							
				->requireModule ( "dijit.MenuBar" )
				->requireModule ( "dijit.MenuBarItem" )
				->requireModule ( "dijit.PopupMenuBarItem" );
		echo $this->dojo ();
		
    	echo $this->headStyle ();		
    ?>
</head>
<body class="tundra">
<div id="container">    
	<?php echo $this->partial("_header.phtml") ?>
	<div id="menu">
		<?php echo $this->partial("_menu.phtml") ?>
	</div>
	<div id="content">
		<?php echo $this->layout ()->content ?>    
		<?php echo $this->inlineScript () ?>
	</div>
	<?php echo $this->partial("_footer.phtml") ?>
</div>
</body>
</html>